package com.linkhub.oms.admin.common.enums;

import com.google.common.collect.Lists;
import com.linkhub.oms.common.enums.IEnumConvert;
import com.linkhub.oms.common.enums.logistic.CountryCodeMappingEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.List;

import static com.linkhub.oms.admin.modules.order.constant.DeclareCountryConstant.EU_COUNTRY_LIST;

/**
 * @author Jaycle
 * @version 1.0.0
 * @Description DeclareMethodEnum.java
 * @createTime 2024/07/05 22:55
 */
@Getter
@AllArgsConstructor
public enum DeclareMethodEnum implements IEnumConvert<Integer> {
    // 申报方式: 1-按固定金额；2-按订单金额
    FIXED(1, "按固定金额"),
    RATIO(2, "按订单金额"),

    ;
    private final Integer code;
    private final String desc;

    @Override
    public Integer getCode() {
        return this.code;
    }
}